package com.lzy.pattern.decorator;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName: FastFood
 * @Description: 抽象构件
 * @Author: LiuZy
 * @Date: 2022/4/23 14:36
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
public abstract class FastFood {

    private double price;
    private String desc;

    public abstract double cost();
}